package com.kerrykidz.scminvoicing.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.kerrykidz.scminvoicing.dao.model.ScmStgAdjEntity;
import com.rdp.framework.exception.RDPException;

@Repository
public interface ScmStgAdjEntityMapper {

	/**
	 * 列出库存调整单信息
	 * 
	 * @return
	 * @throws RDPException
	 */
	List<ScmStgAdjEntity> findScmStgAdj(ScmStgAdjEntity scmStgAdj)
			throws RDPException;
	
	/**
	 * 通过id查询库存调整单
	 * @param pkStgadjId
	 * @return
	 * @throws RDPException
	 */
	ScmStgAdjEntity findScmStgAdjById(@Param("pkStgadjId")String pkStgadjId )throws RDPException;
	
	/**
	 * 插入库存调整单
	 * 
	 * @param scmStgAdj
	 * @throws RDPException
	 */
	void insertScmStgAdj(ScmStgAdjEntity scmStgAdj) throws RDPException;
	
	/**
	 * 库存单流程更改
	 * @param scmStgAdj
	 * @throws RDPException
	 */
	void updateScmStgAdj(ScmStgAdjEntity scmStgAdj) throws RDPException;
}